﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

// MES_SystemUI.SystemDataConfig

namespace MES_SystemUI
{
    public class SystemDataConfig
    {
        public static readonly string KeyStr = "1234567812345678";
        public static readonly string IVStr = "1234567812345678";
        public static Domain.User LoginUser;
        /// <summary>
        /// 分页每页数据数量
        /// </summary>
        public int pageNumber { get; set; } = 10;
        /// <summary>
        /// 主窗体标题背景色
        /// </summary>
        public Color MainFormTitleBackColor { get; set; } = ColorTranslator.FromHtml("#2D0093");
        /// <summary>
        /// 主窗体前景色
        /// </summary>
        public Color MainFormTitleFontcolor { get; set; } = ColorTranslator.FromHtml("#000000");
        /// <summary>
        /// 主窗体标题按钮字体
        /// </summary>
        public Font MainFormTitleButtonFont { get; set; } = new Font("宋体",16);
        /// <summary>
        /// 主窗体标题字体
        /// </summary>
        public Font MainFormTitleFont { get; set; }
        /// <summary>
        /// 全局字体
        /// </summary>
        public Font GlobalFont { get; set; } = new Font("宋体",9);
        /// <summary>
        /// 全局字体颜色
        /// </summary>
        public Color GlobalFontColor { get; set; }
        /// <summary>
        /// 全局选中色
        /// </summary>
        public Color GolbalSelectColor { get; set; }
        /// <summary>
        /// 全局悬浮背景色
        /// </summary>
        public Color GolbalHoverBackColor { get; set; }
        /// <summary>
        /// 全局背景色
        /// </summary>
        public Color GolbalBackColor { get; set; }
        /// <summary>
        /// 全局控件高度
        /// </summary>
        public int GolbalContorlHerght { get; set; }
        /// <summary>
        /// 置顶时 颜色
        /// </summary>
        public Color MainFormTopMostColor { get; set; } = Color.Red;
    }
}
